package com.crowdgeeks.model;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class User {
    @PrimaryKey
    @Persistent
    private String id;

    @Persistent
    private String twitterId;

    @Persistent
    private String twitterScreenName;

    @Persistent
    private String twitterToken;

    @Persistent
    private String twitterTokenSecret;

    @Persistent
    private String oauthVerifier;

    public User(String id, String twitterId, String twitterScreenName, String twitterToken, String twitterTokenSecret, String oauthVerfier) {
        this.id = id;
        this.twitterId = twitterId;
        this.twitterScreenName = twitterScreenName;
        this.twitterToken = twitterToken;
        this.twitterTokenSecret = twitterTokenSecret;
        this.oauthVerifier = oauthVerfier;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTwitterId() {
        return twitterId;
    }

    public void setTwitterId(String twitterId) {
        this.twitterId = twitterId;
    }

    public String getTwitterScreenName() {
        return twitterScreenName;
    }

    public void setTwitterScreenName(String twitterScreenName) {
        this.twitterScreenName = twitterScreenName;
    }

    public String getTwitterToken() {
        return twitterToken;
    }

    public void setTwitterToken(String twitterToken) {
        this.twitterToken = twitterToken;
    }

    public String getTwitterTokenSecret() {
        return twitterTokenSecret;
    }

    public void setTwitterTokenSecret(String twitterTokenSecret) {
        this.twitterTokenSecret = twitterTokenSecret;
    }

    public String getOauthVerifier() {
        return oauthVerifier;
    }

    public void setOauthVerifier(String oauthVerifier) {
        this.oauthVerifier = oauthVerifier;
    }
}